/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean;

/**
 *
 * @author milokokok
 */


import config.LdapAuth;
import java.util.Collection;
import javax.ejb.EJB;

import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

import javax.faces.bean.SessionScoped;
import javax.faces.context.FacesContext;
import models.Messages;
import models.UserRole;
import models.Tables;
import services.Impl.MessageServiceImpl;
import services.Impl.TableServiceImpl;
import services.interfaces.ITableService;

/**
 *
 * @author milokokok
 */
@ManagedBean(name="tablesBean")
@SessionScoped
public class TablesBean {

    /** Creates a new instance of TablesBean */
    public TablesBean() {
    }
    
    
    @EJB
    private TableServiceImpl TableService;
    @EJB
    private MessageServiceImpl messageService;
    private Tables curentTable;

    public Tables getCurentTable() {
        return curentTable;
    }

    public void setCurentTable(Tables curentTable) {
        this.curentTable = curentTable;
    }
    
    private boolean check;

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }
    
    private Long id;
    
    private int  countSeats;
    
    
  
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getcountSeats() {
        return countSeats;
    }

    public void setcountSeats(int countSeats) {
        this.countSeats = countSeats;
    }

    
    
    
}
